<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>   
<%@ taglib prefix="sj" uri="/struts-jquery-tags" %>
<!DOCTYPE >
<html>
<head>
	<title>MINSA</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<sj:head/>
	<!--  script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
	<script type="text/javascript" src="js/jquery.simplemodal-1.3.5.js"></script>
	<link rel="stylesheet" href="css/reset.css"/>
	<link rel="stylesheet" href="css/general.css"/>
	<link rel="stylesheet" href="css/popup.css"/>
	<link rel="stylesheet" href="css/tabla.css"/-->
</head>
<body>
<div id="contenedor-principal">
	<div id="cabecera">
		<tiles:insertAttribute name="cabecera" /> 
	</div>
	
	<div id="cuerpo">
		<div id="panelcuerpo-cen"><tiles:insertAttribute name="cuerpo" /></div>
	</div>
	
	<div id="pie">
		<tiles:insertAttribute name="pie" />
	</div>
</div>
<div id="popup" style="display: none">
	<div id="popupCab" class="popupCab"></div>
	<div id="popupCont" class="popupCont"></div>
</div>
<script type="text/javascript">
function mostrarPopUp(height,width){
	$("#popup").modal({
			minHeight:height+2,
			minWidth: width,
			closeHTML: '<a class="modalCloseImg" title="Cerrar"></a>',
			onOpen: function (dialog) {
				dialog.overlay.fadeIn(0, function () {
					dialog.container.fadeIn(0, function () {
						dialog.data.fadeIn(0);
					});
				});
			},onClose: function (dialog) {
			dialog.data.fadeOut(0, function () {
				dialog.container.fadeOut(0, function () {
					dialog.overlay.fadeOut(0, function() {
						$.modal.close();
					});
				});
			});
			}
	});
	var heightCont=Number(height)-44;
	$("#popupCont").css({
		"height": heightCont
	});
}
</script>
</body>
</html>